wayland/surface: Make sure to commit ack_configure
authorJonas Ådahl <jadahl@gmail.com>
Thu, 17 Sep 2020 16:20:08 +0000 (18:20 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 17 Sep 2020 16:20:08 +0000 (18:20 +0200)
commit4200936f21d88bd8fc4a71f6a3b067fe3059f79b
treec542c5b49a4dd5962637ea6e66166ddf48815cfe
parent1abcd6f3043fc272d8fd30437fc0969c73fc6eb5
wayland/surface: Make sure to commit ack_configure

We must wl_surface.commit after xdg_surface.ack_configure to make it
have an effect. We failed to do so when a configure event didn't result
in new updates, so make sure we fall back on an simple
wl_surface.commit if there was no new actual frame painted.

Closes: #2910
gdk/wayland/gdkcairocontext-wayland.c
gdk/wayland/gdkglcontext-wayland.c
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdksurface-wayland.c
gdk/wayland/gdkvulkancontext-wayland.c